body {
    background-color: rgb(245, 245, 245);
}


/* 导航条 */
.nav {
    width: 100%;
    height: 40px;
    background-color: #333333;
    padding: 8px;
    box-sizing: border-box;
}

.nav a:hover {
    text-decoration: none;
    color: white;
}

.nav a {
    color: #b0b0b0;
    font-size: 12px;
}

.nav>.left {
    float: left;
}

.nav>.left>li {
    display: inline-block;
    vertical-align: middle;
}

.nav>.right {
    float: right;
}

.nav>.right>li {
    display: inline-block;
    vertical-align: middle;
}

.nav li>a>span {
    display: inline-block;
    vertical-align: middle;
    width: 2px;
    height: 10px;
    background-color: rgb(66, 66, 66);
    margin-left: 3px;
}

/* banner图 */
.banner-img {
    width: 100%;
    height: 500px;
}

.banner-img>a>img {
    width: 100%;
    height: 100%;
}

/* phone展示 */
body>.box {
    margin-top: 20px;
    width: 100%;
    height: 600px;
    background-color: rgb(245, 245, 245);
    box-sizing: border-box;
    padding: 20px;
}

body>.box>.top-message {
    width: 100%;
    height: 60px;
    background-color: rgb(245, 245, 245);
    box-sizing: border-box;
    padding: 10px;
}

body>.box>.top-message>span {
    font-size: 25px;
    color: black;

}

body>.box>.top-message>a {
    float: right;
    font-size: 25px;
    color: black;
}

.box>.box1 {
    width: 250px;
    height: 520px;
    background-color: red;
    margin-left: 8.5px;
}

.box>.box1 img {
    width: 250px;
    height: 520px;
}

.box>.box2 {
    width: 960px;
    height: 520px;
    /* background-color: red; */
    display: inline-block;
    /* 解决inline-block后块元素里面加内容下拉问题 */
    vertical-align: middle;
}

.box2 li {
    width: 235px;
    height: 257.5px;
    background-color: white;
    display: inline-block;
    vertical-align: middle;
    margin-top: 2.5px;
    margin-left: 1.7px;
    cursor: pointer;
    display: inline-block;
    vertical-align: middle;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: box-shadow, transform;
    transition-property: box-shadow, transform;
}

.box2 li:hover {
    box-shadow: 0 10px 10px 5px rgba(0, 0, 0, 0.5);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);

}


.box2 li a {
    display: inline-block;
    vertical-align: middle;
    margin-left: 37.5px;
}

.box2 li a img {
    width: 160px;
    height: 160px;
}

.box2 li .phone-name {
    font-size: 14px;
    text-align: center;
    color: #333;
}

.box2 li>span {
    font-size: 12px;
    color: #b0b0b0;
    display: inline-block;
    vertical-align: middle;
    margin-left: 40.57px;
}

.box2 li .cost {
    font-size: 14px;
    color: #ff6700;
    text-align: center;
}

/* long-img */
.long-img {
    width: 100%;
    height: 120px;
    margin-top: 20px;
}

.long-img>a>img {
    width: 100%;
    height: 100%;
}

/* 家电、电脑 */
.double-box1 {
    width: 250px;
    height: 520px;
    /* background-color: red; */
    margin-left: 8.5px;
}

.double-box1 > div {
    width: 235px;
    height: 257.5px;
    background-color: white;
    margin-top: 2.5px;
    cursor: pointer;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: box-shadow, transform;
    transition-property: box-shadow, transform;
}

.double-box1 > div:hover{
    box-shadow: 0 10px 10px 5px rgba(0, 0, 0, 0.5);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);
}

.double-box1 > div a img{
    width: 100%;
    height: 100%;
}

.good-product{
    margin-top: 20px;
    width: 100%;
    height: 440px;
    background-color: rgb(245, 245, 245);
    padding: 10px;
    box-sizing: border-box;
    /* background-color: red; */
}

.good-product .p1{
    font-size: 25px;
    color: black;
    margin-bottom: 20px;
  
}

.good-product ul li{
    width: 280px;
    height: 367px;
    background-color: white;
    display: inline-block;
    vertical-align: middle;
    margin-left: 20px;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-transform: perspective(1px) translateZ(0);
    transform: perspective(1px) translateZ(0);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0);
    -webkit-transition-duration: 0.3s;
    transition-duration: 0.3s;
    -webkit-transition-property: box-shadow, transform;
    transition-property: box-shadow, transform;
}

.good-product ul li:hover {
    box-shadow: 0 10px 10px 5px rgba(0, 0, 0, 0.5);
    -webkit-transform: scale(1.1);
    transform: scale(1.1);

}


.good-product ul li img{
    width: 100%;
    height: 200px;
}

.good-product ul li .p2{
    padding: 10px;
    font-weight: bold;
}

.good-product ul li .p3 {
    width: 100%;
    height: 50px;
    /* background-color: red; */
    box-sizing: border-box;
    padding: 10px;
}

.good-product ul li .p3 .ally{
    display: block;
    font-size: 12px;
    color: #b0b0b0;
    margin-bottom: 6px;
}

.good-product ul li .p3 .thing .money{
    color: #ff6700;
}

.w-message{
    width: 100%;
    height: 200px;
    border-radius: 5px;
    box-shadow: 0 7px 20px 5px rgba(0, 0, 0, 0.5);
    background-color:white;
    margin-top: 10px;
    cursor: pointer;
    text-align: center;
    margin-bottom: 20px;
}

.w-message > a{
    display: inline-block;
    vertical-align: middle;
    height: 61px;
    font-size: 50px;
    margin-top: 61px;
    color: rgb(132, 132, 132);
}

.w-message > a:hover{
    color: #ff6700;
    text-decoration: none;
    transition-duration: 2s;
}